The phrase "to fit the diaper" means to ensure that the diaper is the right size and properly worn, making sure it fits snugly on the baby's bottom.